const path=require("path")
module.exports = {
    mode:"none",
    entry:path.resolve(__dirname, 'main.js'),
    output: {
      path: path.resolve(__dirname, 'dist'),
      filename: 'my-first-webpack.bundle.js',
    },
    module:{

        rules:[
            {
                test:/\.js$/,
                use:"babel-loader"
            }

        ]
    }
  };